package demo0151.config;

import demo0151.controller.conffff;
import demo0151.service.Service1;
import demo0151.service.ServiceImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.stereotype.Controller;

public class Test {
    public static void main(String[] args) {
        ApplicationContext a = new AnnotationConfigApplicationContext(Springa.class);
        conffff bean = a.getBean(conffff.class);
        bean.sets();

    }
}
